package com.demo;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan("com.demo.mapper")
@ComponentScan(basePackages = { "com.demo","com.demo.config", "com.demo.dao","com.demo.service",  "com.demo.entity" })
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}